import request from '@/router/axios'
import { baseUrl } from '@/config/env'

// 添加班级班主任信息
export function addClassTeacher(data) {
    return request({
        url: baseUrl + '/pc/class-teacher',
        method: 'post',
        data
    })
}

// 查询班级班主任信息
export function getClassTeacher(data) {
    return request({
        url: baseUrl + '/pc/class-teacher',
        method: 'get',
        params: data
    })
}

// 更新班级班主任信息
export function updateClassTeacher(data) {
    return request({
        url: baseUrl + '/pc/class-teacher',
        method: 'put',
        data
    })
}

// 删除班级班主任信息
export function deleteClassTeacher(data) {
    return request({
        url: baseUrl + '/pc/class-teacher',
        method: 'delete',
        data
    })
}
